tools/xenpaging: call pageout policy function in xenpaging_evict_page
authorOlaf Hering <olaf@aepfle.de>
Tue, 24 Aug 2010 17:33:25 +0000 (18:33 +0100)
committerOlaf Hering <olaf@aepfle.de>
Tue, 24 Aug 2010 17:33:25 +0000 (18:33 +0100)
commit4fc7d71bc2c486c1816dd13e3b264d0500c3ead5
tree894ea4beba5a857ae3d7e54d594e74e6e2380ef8
parente7ebcafdbf8cf285f00ea9e83e827fb1370c3497
tools/xenpaging: call pageout policy function in xenpaging_evict_page

Notify policy about a page that was just paged out to disk.
Up to now the code called the opposite function, which clears the
(xenpaging internal) reference bit, instead of setting it and marking
the page as gone.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Patrick Colp <pjcolp@cs.ubc.ca>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/xenpaging/xenpaging.c